package com.iims.flowable.flow.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 删除流程实例请求对象
 *
 * @author fanpei
 * @date 2021/6/27 18:17
 */
@ApiModel("删除流程请求对象")
@Data
public class FlowDeleteRequest {
    @ApiModelProperty(value = "流程实例Id", required = true)
    private String processInstanceId;

    @ApiModelProperty(value = "流程定义Id", required = true)
    private String processDefinitionId;

    @ApiModelProperty(value = "是否允许级联删除子流程，默认false", example = "false")
    private Boolean cascade = false;

    @ApiModelProperty(value = "删除理由")
    private String deleteReason;
}
